package com.kk.model;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;

/**
 * @author: kevin
 * @data: 2018-08-27 16:12
 * @desc:
 */

@EqualsAndHashCode(callSuper = true)
@Data
@Entity
public class MenuMeta extends BaseEntity {

    private boolean hideInMenu;

    private boolean notCache;

    private String title;

    private String href;

    private String icon;

    public MenuMeta() {
    }

    public MenuMeta(String title, String icon) {
        this.title = title;
        this.icon = icon;
    }
    public MenuMeta(boolean hideInMenu, boolean notCache, String title, String icon) {
        this.hideInMenu = hideInMenu;
        this.notCache = notCache;
        this.title = title;
        this.icon = icon;
    }
}
